package org.qloudgen.txn.dilithium.cluster.pages.common;

import org.apache.wicket.markup.html.link.BookmarkablePageLink;
import org.apache.wicket.markup.html.pages.AbstractErrorPage;
import org.apache.wicket.request.http.WebResponse;
import org.qloudgen.txn.dilithium.cluster.security.LoginPage;

public class PageExpiredErrorPage extends AbstractErrorPage
{
  private static final long serialVersionUID = 1L;

  public PageExpiredErrorPage()
  {
    add(new BookmarkablePageLink<Object>("loginPageLink", LoginPage.class));
  }

  protected void setHeaders(WebResponse response)
  {
    response.setStatus(410);
  }
}
